package org.example.main.entity;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(name = "House",description = "房源实体")
public class House {

  @Schema(name = "houseId",description = "房源id")
  private long houseId;

  @Schema(name = "title",description = "标题")
  private String title;

  @Schema(name = "description",description = "描述")
  private String description;

  @Schema(name = "price",description = "价格")
  private Double price;

  @Schema(name = "address",description = "地址")
  private String address;

  @Schema(name = "area",description = "区域")
  private String area;

  @Schema(name = "roomCount",description = "房间数")
  private Integer roomCount;

  @Schema(name = "floor",description = "楼层")
  private Integer floor;

  @Schema(name = "landlordId",description = "房东id")
  private long landlordId;

  @Schema(name = "status",description = "状态")
  private String status;

  @Schema(name = "imageUrl",description = "图片")
  private String imageUrl;

  @Schema(name = "size",description = "面积")
  private Integer size;

  public long getHouseId() { return houseId; }
  public void setHouseId(long houseId) { this.houseId = houseId; }

  public String getTitle() { return title; }
  public void setTitle(String title) { this.title = title; }

  public String getDescription() { return description; }
  public void setDescription(String description) { this.description = description; }

  public Double getPrice() { return price; }
  public void setPrice(Double price) { this.price = price; }

  public String getAddress() { return address; }
  public void setAddress(String address) { this.address = address; }

  public String getArea() { return area; }
  public void setArea(String area) { this.area = area; }

  public Integer getRoomCount() { return roomCount; }
  public void setRoomCount(Integer roomCount) { this.roomCount = roomCount; }

  public Integer getFloor() { return floor; }
  public void setFloor(Integer floor) { this.floor = floor; }

  public long getLandlordId() { return landlordId; }
  public void setLandlordId(long landlordId) { this.landlordId = landlordId; }

  public String getStatus() { return status; }
  public void setStatus(String status) { this.status = status; }

  public String getImageUrl() { return imageUrl; }
  public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; }

  public Integer getSize() { return size; }
  public void setSize(Integer size) { this.size = size; }
}
